package com.cx.zyx.modulebiz.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@MapperScan("com.cx.zyx.modulebiz.user.mapper")//扫描指定路径
@EnableTransactionManagement //关键注解：启用声明式事务管理
public class ThnUserServer {
    public static void main(String[] args) {
        SpringApplication.run(ThnUserServer.class, args);
    }
}
